package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Phone     string `gorm:"type:char(11)" json:"phone"`
	Password  string `gorm:"type:varchar(32)" json:"password"`
	Name      string `gorm:"type:varchar(32)" json:"name"`
	Account   string `gorm:"type:varchar(100)" json:"account"`
	HeadImage string `gorm:"type:varchar(322)" json:"head_image"`
	Addr      string `gorm:"type:varchar(52)" json:"addr"`
}
